package com.financing.wap.service;

import com.financing.wap.dto.*;


/**
 * 
 * 公共
 * @author lisu
 *
 */
public interface ICommonService {
	
	/**
	 * 支付-成功绑卡后-逻辑处理
	 * @param bankCardDTO
	 * @param user
	 * @return
	 * @throws Exception
	 */
	public  String confirmbindbankcard(BankCardDTO bankCardDTO, UserDTO user)throws Exception;

	/**
	 * 支付-保证金支付成功-逻辑处理
	 * @param dto
	 * @param paymentUp
	 * @param youDanAmountDetailDTO 
	 */
	public void orderBZJDealSuccessNew(FpBiddingReceiptDTO dto,
			FpPaymentDTO paymentUp, FpYouDanAmountDetailDTO youDanAmountDetailDTO)throws Exception;

	/**
	 * 支付-保证金支付失败-逻辑处理
	 * @param dto
	 * @param paymentUp
	 */
	public void orderBZJDealFailNew(FpBiddingReceiptDTO dto, FpPaymentDTO paymentUp)throws Exception;
	
	/**
	 * 支付-佣金支付成功-逻辑处理
	 * @param dto
	 * @param paymentUp
	 * @param youDanAmountDetailDTO 
	 */
	public void orderYJDealSuccessNew(OrderDTO dto,
			FpPaymentDTO paymentUp, FpYouDanAmountDetailDTO youDanAmountDetailDTO)throws Exception;

	/**
	 * 支付-佣金支付失败-逻辑处理
	 * @param dto
	 * @param paymentUp
	 */
	public void orderYJDealFailNew(OrderDTO dto, FpPaymentDTO paymentUp)throws Exception;

	/**
	 * 支付-提现
	 * @param payment
	 * @param youDanAmountDetailDTO
	 * @return
	 */
	public String withdrawalsDealSuccessNew(FpPaymentDTO payment,FpYouDanAmountDetailDTO youDanAmountDetailDTO)throws Exception;
	

	/**
	 * 银行卡-解除绑定
	 * @param dto
	 * @param paymentUp
	 */
	public void releaseBindbankcard(BankCardDTO bankCardDTO, UserDTO userInfo)throws Exception;
	
	
	/**
	 * 获取版本
	 * @return
	 */
	public FpVersionDTO getQueryVersionno(String platform);
}
